package com.mac.hosp_pre.order.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.mac.hosp_pre.order.entity.OrderInfo;
import com.mac.hosp_pre.order.model.req.OrderCountQueryReqDto;
import com.mac.hosp_pre.order.model.resp.OrderCountRespDto;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface OrderMapper extends BaseMapper<OrderInfo> {

    //查询预约统计数据的方法
    List<OrderCountRespDto> selectOrderCount(@Param("oc") OrderCountQueryReqDto orderCountQuery);
}
